home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 7
/
Amiga Format AFCD07 (Dec 1996, Issue 91).iso
/
serious
/
shareware
/
programming
/
aros
/
dos
/
maxcli.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-12
|
1KB
|
59 lines
/*
(C) 1995-96 AROS - The Amiga Replacement OS
$Id: maxcli.c,v 1.2 1996/08/01 17:40:55 digulla Exp $
$Log: maxcli.c,v $
Revision 1.2 1996/08/01 17:40:55 digulla
Added standard header for all files
Desc:
Lang: english
*/
#include <exec/execbase.h>
#include <clib/exec_protos.h>
#include <dos/dosextens.h>
/*****************************************************************************
NAME */
#include <clib/dos_protos.h>
__AROS_LH0(BPTR, MaxCli,
/* SYNOPSIS */
/* LOCATION */
struct DosLibrary *, DOSBase, 92, Dos)
/* FUNCTION
Returns the highest Cli number currently in use. Since processes
may be added and removed at any time the returned value may already
be wrong.
INPUTS
RESULT
Maximum Cli number (_not_ the number of Clis).
NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
29-10-95 digulla automatically created from
dos_lib.fd and clib/dos_protos.h
*****************************************************************************/
{
__AROS_FUNC_INIT
__AROS_BASE_EXT_DECL(struct DosLibrary *,DOSBase)
return DOSBase->dl_ProcCnt-1;
__AROS_FUNC_EXIT
} /* MaxCli */